package com.example.javafx;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;

import javafx.scene.control.Label;

import javafx.scene.layout.Border;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;




import java.io.IOException;


public class HelloApplication extends Application {
    public static void main(String[] args) {
        Application.launch(args);
    }
    @Override
    public void start(Stage stage) throws Exception {
        Label label =new Label("hello world");
        BorderPane pane=new BorderPane(label);

        Scene scene=new Scene(pane,300,300);

        stage.setScene(scene);


        stage.setTitle("die");
        stage.show();

    }

}